package com.mf.morefun.constant;

import android.media.AudioFormat;

/**
 * Created by a on 2017/12/6.
 */

public class Configuration {

    public static final String OOSROOT = "http://onlyfordaisy.oss-eu-central-1.aliyuncs.com/";

    public static final String HOST = "http://www.readingmorefun.com:8080/";
    //注册
    public static final String REGISTER = "morefun/app/mfuser/mfUser/register";//post
    //登陆
    public static final String LOGIN = "morefun/app/mfuser/mfUser/login";//posy
    //首页轮播图
    public static final String HOMEBIANNER = "morefun/app/mfbaner/mfBaner/getList";//POST
    //获取短信验证吗
    public static final String GETMESSAGECODE = "morefun/app/sys/alisms/sendCode";//psot
    //用户根据手机修改密码
    public static final String CHANGEPASSWORD = "morefun/app/mfuser/mfUser/updatePassword";
    //作品
    public static final String WORKSLIST = "morefun/app/mfwork/mfWork/getListPageData";
    //书签
    public static final String BOOKMARKLIST = "morefun/app/mfbookmark/mfBookmark/getListPageData";
    //成就上面的统计
    public static final String ACHIEVEMENTSTATISTICS = "morefun/app/mfuser/mfUser/achievementCount";
    //查询班级
    public static final String QUERYCLASS = "morefun/app/mfclassuser/mfClassUser/getList";
    //查询班级列表
    public static final String QUERYCLASSLIST = "morefun/app/mfclassuser/mfClassUser/getListPageData";
    //修改图像
    public static final String CHANGEHEAD = "morefun/app/mfuser/mfUser/updateHeadProfit";
    //上传图片
    //修改地址
    public static final String CHANGEADDRESS = "morefun/app/mfuser/mfUser/updateAddress";
    //修改生日
    public static final String CHANGEBIRTHDAY = "morefun/app/mfuser/mfUser/updateBirthday";
    //修改名字
    public static final String CHANGENAME = "morefun/app/mfuser/mfUser/updateName";
    //分类列表
    public static final String READTYPELIST = "morefun/app/mforganclassificationref/mfOrganClassificationRef/getList";
    //根据分类id绘本页
    public static final String READLIST = "morefun/app/mfseries/mfSeries/getList";
    //根据系列id查询内容
    public static final String READDETAILTYPE = "morefun/app/mfunit/mfUnit/getList";
    //根据单元ID查询内容
    public static  final String READDETAIL = "morefun/app/mfbook/mfBook/getList";
    //礼物列表
    public static final String GIFTLIST = "morefun/app/mfprize/mfPrize/getList";
    //兑换礼物
    public static final String EXCHANGEGIFT = "morefun/app/mfprizeexchange/mfPrizeExchange/save";
    //礼物兑换记录
    public static final String EXCHANGEGIFTHISTORY = "morefun/app/mfprizeexchange/mfPrizeExchange/getListPageData";
    //磨耳朵列表
    public static final String GRINDINGEARSLIST = "morefun/app/mfmedlist/mfMedList/getUserLastList";
    //删除一条记录
    public static final String DELETEONEEARS = "morefun/app/mfmedlist/mfMedList/delete";
    //批量增加记录
    public static final String ADDEARS = "morefun/app/mfmedlist/mfMedList/saveList";
    //班级列表
    public static final String CLASSLIST = "morefun/app/mfclassuser/mfClassUser/getList";
    //编辑班级
    public static final String EDITCLASS = "morefun/app/mfclass/mfClass/edit";
    //新增班级
    public static final String ADDCLASS = "morefun/app/mfclass/mfClass/add";
    //班级排行榜
    public static final String CLASSTOP = "morefun/app/mfclass/mfClass/rankingList";
    //查询班级下面所有用户
    public static final String CLASSALLUSER = "morefun/app/mfclassuser/mfClassUser/getList";
    //查询班级下面的作业
    public static final String CLASSTEXT = "morefun/app/mftprecord/mfTpRecord/getList";
    //做作业列表
    public static final String DOHOMEWORKLIST = "morefun/app/mftp/mfTp/getMfTpPageData";
    //个人中心作品
    public static final String COMMENTREADRECORD = "morefun/app/mfwork/mfWork/getUserReadRecord";
    //绘本库的录音
    public static final String MOREREADRECORD = "morefun/app/mfbook/mfBook/getBookAllInfoById";
    //查询作业下面的录音文件  点评页面
    public static final String HOMEWORKRECORD = "morefun/app/mftprecord/mfTpRecord/getUserHomeWorkReadRecord";
    //听讲解  根绝绘本ID查询课次
    public static final String LISTENTEACHER = "morefun/app/mflisten/mfListen/getList";
    //听原音
    public static final String LISTENORIHINAL = "morefun/app/mfbook/mfBook/getBookAllInfoById";
    //测试排行榜
    public static final String TESTRANK = "morefun/app/mftestrecordreport/mfTestRecordReport/getList";
    //获取测试题
    public static final String GETTEST = "morefun/app/mftest/mfTest/getTestQuestionsByBookId";
    //保存测试时间
    public static final String SAVETESTTIME = "morefun/app/mftestrecordreport/mfTestRecordReport/save";
    //获取邀请码
    public static final String GETCLASSCODE = "morefun/app/mfclasscode/mfClassCode/getById";
    //分享获取
    public static final String SHARE = "morefun/app/mfshare/mfhare/getShareContext";
    //作业点评保存
    public static final String HOMEWORKCOMMENTSAVE = "morefun/app/mftpcomment/mfTpComment/save";
    //作业录音保存
    public static final String HOMEWORKRECORDSAVE = "morefun/app/mftprecord/mfTpRecord/saveUserHomeWorkReadRecord";
    //作品点评保存
    public static final String WORKSAVE = "morefun/app/mfwork/mfWork/saveUserReadRecord";
    //作品加书签
    public static final String BOOKMARKSAVE = "morefun/app/mfbookmark/mfBookmark/save";
    //阿里云鉴权接口
    public static final String GETALIINFO = "morefun/app/sys/dict/getAliOSSSecurityToken";

    //阿里云鉴权接口V2
    public static final String GETALIINFOV2 = "morefun/app/sys/dict/getAliOSSSecurityTokenV2";

    //作业保存视频
    public static final String SAVEVIDEO = "morefun/app/mftprecord/mfTpRecord/save";
    //送花接口
    public static final String SENDFLOWER = "morefun/app/mfrewardrecord/mfRewardRecord/save";
    //
    //设置有效期
    public static final String SETTIMEENABLE = "morefun/app/mfuser/mfUser/updateEnableDate";
    //删除用户
    public static final String DELETEUSER = "morefun/app/mfuser/mfUser/delete";
    //查询机构下面所有用户
    public static final String QUERYALLUSER = "morefun/app/mfuser/mfUser/getOrganUserList";
    //搜索用户
    public static final String SERCHUSER = "morefun/app/mfuser/mfUser/getOrganUserListByPhoneorName";
    //添加班级用户
    public static final String ADDCLASSUSER = "morefun/app/mfclassuser/mfClassUser/save";
    //删除班级用户
    public static final String DELETECLASSUSER = "morefun/app/mfclassuser/mfClassUser/deleteClassUser";
    //根据手机获取用户信息其实就是判断手机是否已经注册
    public static final String ISREGISTER = "morefun/app/mfuser/mfUser/getUserByPhone";
    //修改角色
    public static final String CHANGEUSER = "morefun/app/mfuser/mfUser/updateUserRole";
    //查询用户信息
    public static final String USERINFO = "morefun/app/mfuser/mfUser/getById";
    //删除班级
    public static final String DELETECLASS = "morefun/app/mfclass/mfClass/delete";
    //布置作业列表
    public static final String ARRANGELIST = "morefun/app/mftpdetail/mfTpDetail/getListPageData";
    //创建一个作业
    public static final String CREATEHOMEWORK = "morefun/app/mftpdetail/mfTpDetail/CreateHomeWork";
    //删除单次作业
    public static final String DELETEHOMEWORK = "morefun/app/mftpdetail/mfTpDetail/delete";
    //根据班级ID和单次id查询作业列表
    public static final String SIMPLEARRANGELIST = "morefun/app/mftp/mfTp/getClassMfTpPageData";
    //删除单个作业
    public static final String DELETESIMPLEHOMEWORK = "morefun/app/mftplrr/mfTpLRR/delete";
    //编辑班级作业
    public static final String EDITARRANGE = "morefun/app/mftpdetail/mfTpDetail/EditHomeWork";
    //给班级布置作业
    public static final String ARRANGEHOMEWORK = "morefun/app/mftpdetail/mfTpDetail/saveClassHomeWork";
    //获取点评
    public static final String GETCOMMENT = "morefun/app/mftpcomment/mfTpComment/getCommentLast";
    public static final String USERID = "user_id";

    public static final String COUNTRYID = "country_id";

    //判断作业是否已经过期
    public static final String HOMEWORK = "homeWork";
    //
    public static final String USERPHONE = "user_phone";
    //
    public static final String USERPASSWORD = "user_password";
    public static final String ACCESSKEYID = "accessKeyId";
    public static final String ACCESSKEYSECRET = "accessKeySecret";
    public static final String SECURITYTOKEN = "securityToken";

    public static final String ENDPOINT = "Endpoint";
    public static final String BUCKETNAME = "BucketName";
    public static final String BUCKETDOMAIN = "BucketDomain";


    //文字点评
    public static final String TEXTCOMMENT = "textComment";
    //语音点评
    public static final String TEACHERVOICECOMMENT = "teacherVoiceComment";
    //分数
    public static final String SCORE = "score";
    //班级的名称
    public static final String CLASSNAME = "class_name";
    //班级的图片
    public static final String CLASSIMAGE= "class_image";
    //用于判断分享是否重启页面
    public static final String USERSHARE = "user_share";
    /**
     * 采样率，现在能够保证在所有设备上使用的采样率是44100Hz, 但是其他的采样率（22050, 16000, 11025）在一些设备上也可以使用。
     */
    public static final int SAMPLE_RATE_INHZ = 44100;

    /**
     * 声道数。CHANNEL_IN_MONO and CHANNEL_IN_STEREO. 其中CHANNEL_IN_MONO是可以保证在所有设备能够使用的。
     */
    public static final int CHANNEL_CONFIG = AudioFormat.CHANNEL_IN_MONO;
    /**
     * 返回的音频数据的格式。 ENCODING_PCM_8BIT, ENCODING_PCM_16BIT, and ENCODING_PCM_FLOAT.
     */
    public static final int AUDIO_FORMAT = AudioFormat.ENCODING_PCM_16BIT;
}
